package com.zretc.users.dao;

import com.zretc.api.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UsersMapper {
    User getUserById(@Param("userId") Integer userId);

    User getUserByName(String username);

    void updatePointOrRepu(User user);

    void updateNicknameOrPhone(User user);

    Integer getPoint(@Param("userId") Integer userId);

    Integer getReputation(@Param("userId") Integer userId);
}
